package org.example.service;

import org.example.pojo.Top10Vo;

import java.time.LocalDate;
import java.util.Map;

public interface EchartsService {
    /**
     * 获取top10
     * @return
     */
    Top10Vo Top10Inventory();

    /**
     * 获取分类比例
     * @return
     */
    Object categoryProportion(String timeRange);

    /**
     * 获取概览
     * @return
     */
    Map<String, Integer> overview();

    /**
     * 获取趋势
     * @param type
     * @param startTime
     * @param endTime
     */
    Map<String, Object> trend(String type, String startTime, String endTime);
}
